home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 001-025 / disk_002 / make2 / rules.h < prev    next >
C/C++ Source or Header  |  1992-05-06  |  509b  |  26 lines

  1. #define MAXDEPEND 100
  2. #define MAXACTION 20
  3. #define MAXRULES  50
  4.  
  5. /*
  6.  * struct rule -- storage for a rule of the form
  7.  *
  8.  * target : depend[0] depend[1] ... depend[c_depend]
  9.  *        action[0]
  10.  *        action[1]
  11.  *           :
  12.  *        action[c_action]
  13.  *
  14.  */
  15.  
  16. extern struct rule {
  17.     char *pch_target;
  18.     int  c_depend;
  19.     char *apch_depend[ MAXDEPEND ];
  20.     int c_action;
  21.     char *apch_action[ MAXACTION ];
  22. } arl_Rules[ MAXRULES ];
  23.  
  24. extern int n_Rules;
  25. extern char **GetDependants(), **GetActions();
  26.